package com.only4play.practice.pay.reconcile.core.strategy.download;

/**
 * @author mengdy
 */
public interface WeChatParamNameConstant {

    //***********************************常量枚举**********************************//

    String WECHAT_V2_BILL_FILE_TITLE_RAW_CONTENT = "交易时间,公众账号ID,商户号,特约商户号,设备号,微信订单号,商户订单号,用户标识,交易类型,交易状态,付款银行,货币种类,应结订单金额,代金券金额,微信退款单号,商户退款单号,退款金额,充值券退款金额,退款类型,退款状态,商品名称,商户数据包,手续费,费率,订单金额,申请退款金额,费率备注";
    String WECHAT_V2_BILL_FILE_TITLE_RAW_CONTENT_REGEX = "(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?)$";
    String WECHAT_V2_BILL_FILE_TITLE_RAW_VALUE_REGEX = "^`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),`(.*?)$";
    String WECHAT_V2_BILL_FILE_TOTAL_TITLE_RAW_CONTENT = "总交易单数,应结订单总金额,退款总金额,充值券退款总金额,手续费总金额,订单总金额,申请退款总金额";
    String WECHAT_V2_BILL_FILE_TOTAL_TITLE_RAW_CONTENT_REGEX = "(.*?),(.*?),(.*?),(.*?),(.*?),(.*?),(.*?)$";
    String WECHAT_V2_BILL_FILE_TOTAL_TITLE_RAW_VALUE_REGEX = "^`(.*?),`(.*?),`(.*?),`(.*?),`(.*?),(.*?),(.*?)$";
    String WECHAT_V2_BILL_FILE_TOTAL_TITLE_RAW_VALUE = "`0,`0.00,`0.00,`0.00,`0.00000,`0.00,`0.00";
    String WECHAT_V2_BILL_FILE_HAS_NO_BILL_EXIST_DEFAULT_CONTENT =
                    WECHAT_V2_BILL_FILE_TITLE_RAW_CONTENT
                    + "\n"
                    + WECHAT_V2_BILL_FILE_TOTAL_TITLE_RAW_CONTENT
                    + "\n"
                    + WECHAT_V2_BILL_FILE_TOTAL_TITLE_RAW_VALUE;

    //*******************************参数值枚举********************************//
    String VALUE_TRUE = "TRUE";
    String VALUE_FALSE = "FALSE";



    //*******************************参数名称********************************//
    //是否沙箱环境
    String IS_SANDBOX = "sandbox";
    //是否服务商模式
    String IS_PARENT_SERVE = "isParentServe";
    String APPID = "appId";
    String MCH_ID = "mchId";
    String SUB_MCH_ID = "subMchId";
    String SUB_APPID = "subAppId";
    String BILL_DATE = "billDate";

    String BILL_TYPE = "billType";
    String BILL_TYPE_VALUE_ALL = "ALL";


    String PARTNER_KEY = "partnerKey";

    String BILL_TAR_TYPE = "tarType";
    String BILL_TAR_TYPE_VALUE_GZIP = "GZIP";

}
